<template>
        <footer>
            <div class="footer_main">
                <h3>友情链接:</h3>
                <div class="footer_nav">
<!--                    留一个做参考-->
<!--                    <a href="#">星云大数据平台</a>-->
                    <a :href="v.dictValue" v-for="(v,i) in loadData" :key="i">{{v.dictLabel}}</a>
                </div>
                <p class="footer_line"></p>
                <p>Copyright © 2017-2025 石家庄天亮教育科技有限公司 备案号:冀ICP备17020003号</p>
            </div>
        </footer>
</template>

<script>
    import {footerComponent} from "../api"
    export default {
        name: "footerComponent",
        data(){
            return {
                loadData:[]
            }
        },
        created() {
            let data = new URLSearchParams;
            data.append('dictType','blogroll');
            data.append('pageNum',1);
            data.append('pageSize',10);
            data.append('orderByColumn','dictSort');
            data.append('isAsc','asc');
            footerComponent(data).then(res =>{
                // console.log(res.rows)
                this.loadData=res.rows
            })
        }
    }
</script>

<style scoped>
    footer {
        height: 197px;
        background-color: #444546;
        color: #999;
        font-size: 14px;
        overflow: hidden;
        /*margin-top: 30px;*/
        margin-bottom: 0px;
    }
    .footer_main {
        padding-top: 20px;
        width: 1200px;
        height: 197px;
        margin: auto;
    }
    .footer_main>h3 {
        margin: 16px 0;
        height: 30px;
        color: #999;

    }
    .footer_nav {
        height: 40px;
    }
    .footer_nav a {
        color: #999;
        margin-right: 30px;
        line-height: 40px;
        text-decoration: none;
    }
    .footer_nav a:hover{
        color: rgb(81, 190, 126);
    }
    .footer_line {
        margin: 24px auto;
        /* height: 2px; */
        width: 1000px;
        border: 1px solid rgb(84, 84, 84);
        background-color: #999;
    }
    .footer_main>p {
        text-align: center;
    }

</style>